2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
* gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
functions from header files. this should be portable across linux and
Mac OS, unlike the previpous sed expression.
svn path=/trunk/; revision=19098
+2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
+
+ * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
+ functions from header files. this should be portable across linux and
+ Mac OS, unlike the previpous sed expression.
+
2007-12-1 Cody Russell <bratsche@gnome.org>
* gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
* gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
2007-11-29 Matthias Clasen <mclasen@redhat.com>
-
+
* gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
debug spew.
gtktypefuncs.c: @REBUILD@ $(top_srcdir)/gtk/*.h $(top_srcdir)/gdk/*.h Makefile
echo '#include <gtk/gtk.h>' > xgen-gtfsrc.c && \
${CPP} $(DEFS) $(INCLUDES) -DGTK_ENABLE_BROKEN $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) xgen-gtfsrc.c | \
- egrep '\<g[td]k_[a-zA-Z0-9_]+_get_type\>' | \
- sed -e 's/.*\(\<g[td]k_[a-zA-Z0-9_]\+_get_type\>\).*/\1/' | \
+ grep -o '\bg[td]k_[a-zA-Z0-9_]*_get_type\b' | \
sort | uniq | \
sed '{ s/^/vgt=/; s/$$/();/; }' > xgen-gtf \
&& cp xgen-gtf $@ && rm -f xgen-gtf